package com.shambles.manage.service;

import com.github.pagehelper.PageInfo;
import com.shambles.manage.model.Photo;
import com.shambles.manage.model.Users;
import com.shambles.manage.model.dto.SubScribeDTO;
import com.shambles.manage.model.entity.BasePage;
import com.shambles.manage.model.entity.MessageRequestVM;
import com.shambles.manage2.tkmapper.entity.*;

import java.util.List;


public interface BoothService {
    PageInfo<AbattoirBooth> findAllBooth(MessageRequestVM messageRequestVM);
    PageInfo<AbattoirBooth> findEmptyBooth(MessageRequestVM messageRequestVM);

    AbattoirBooth findSubscribe(SubScribeDTO subScribeDTO);


    int insertSub(SubscribeInformation information, List<SubscribeDetail> list,String name);

    List<String> kind();

    List<UsersManager> returnOpenID();

    Usersinfo findByOpenID(String openId);

    List<Photo> findSimple(String openId);

    PageInfo<SubscribeInformation> findCheckSubscribe(MessageRequestVM messageRequestVM);

    int deal(int id,int i);

    SubscribeInformation findOpenIdByID(Integer id);

    PageInfo<Cost> slaughter(MessageRequestVM messageRequestVM);

    PageInfo<Users> returnAllUsers(BasePage basePage);

    void updateById(Integer id, String currentUserName);

    PageInfo<SubscribeInformation> findAllSubscribe(MessageRequestVM messageRequestVM);
}
